ABC087 D - People on a Line